<!-- 加载玩法列表模板 -->
<script type="text/html" id="teamReport-template">
<thead>
	 <tr>
        <th>序号</th>
	    <th>用户ID</th>
		<th>用户名</th>
		<th>充值总额</th>
		<th>提现总额</th>
		<th>投注总额</th>
		<th>中奖总额</th>
		<th>总返点</th>
		<th>佣金</th>
        <th>活动</th>
		<th>总盈亏</th> 
		<th style="text-align:center">查看</th> 
	</tr>
</thead>
<tbody id="teamReport-data">
	
</tbody>
</script>
<script type="text/html" id="teamReport-z-template">
	<%_.each(items,function(item,index) {%>
		<tr data-uid="<%=item.id%>" data-pid="<%=item.parentId%>">
            <td><%=index+1%></td>
			<td><a data-flag='data-sub-proxy'><%=item.uid%></a></td>
            <td><a data-flag='data-sub-proxy'><%=item.loginName%></a></td>
			<td data-chargeAmount ><%=item.chargeAmount.toFixed(4) %></td>
			<td data-cashAmount ><%=item.cashAmount.toFixed(4) %></td>
			<td data-betsAmount ><%=item.betsAmount.toFixed(4) %></td>
			<td data-betsBonus ><%=item.betsBonus.toFixed(4) %></td>
	        <td data-fanDianAmount ><%=item.fanDianAmount.toFixed(4)%>
			<td data-commission ><%=item.commission.toFixed(4)%></td>
            <td data-commission ><%=item.award.toFixed(4)%></td>
            <td data-totalYk ><%=(item.betsBonus+item.fanDianAmount+item.commission+item.award-item.betsAmount).toFixed(4)%></td>
            <td style="text-align:center">  <%if(item.isSelf=='N'){%> <a data-flag='data-super-proxy'>上级</a> <%}else{%>---<%}%></td>
		</tr>
	<%})%>
</script>
<script type="text/html" id="teamReport-z-empty-template">
<tr data-flag="empty">
	<td  colspan="11" style="text-align:center;">暂无下级盈亏记录。</td>
</tr>
</script>
